package cn.stylefeng.guns.modular.base.item.entity;

import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;

/**
 * 基础数据-存货分类实例类
 *
 * @author caoxf
 * @since 2023/11/20 22:56
 */
    @TableName("b_itemclass")
    @Data
    @EqualsAndHashCode(callSuper = true)
    public class ItemClass extends BaseEntity {

    /**
     * 存货分类代码
     */
    @TableId(value = "class_code", type = IdType.ASSIGN_ID)
    @ChineseDescription("存货分类代码")
    private String classCode;

    /**
     * 存货分类名称
     */
    @TableField("class_name")
    @ChineseDescription("存货分类名称")
    private String className;

}
